package com.hsjk.szwj.module.system.controller.admin.service.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hsjk.szwj.framework.excel.core.annotations.DictFormat;
import com.hsjk.szwj.framework.excel.core.convert.DictConvert;


/**
 * 服务信息 Excel VO
 *
 * @author ec50n9
 */
@Data
public class ServiceExcelVO {

    @ExcelProperty("自增编号")
    private Long id;

    @ExcelProperty("服务名称")
    private String serviceName;

    @ExcelProperty("服务标识")
    private String serviceCode;

    @ExcelProperty(value = "服务类型", converter = DictConvert.class)
    @DictFormat("system_service_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Byte serviceType;

    @ExcelProperty("服务简介")
    private String description;

    @ExcelProperty("有效天数")
    private Integer validDays;

    @ExcelProperty("菜单编号集合")
    private String menuIds;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
